﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class ResultRtn<T>
    {
        private int _code = 200;
        /// <summary>
        /// 返回状态码
        /// </summary>
        public int code { get { return _code; } set { _code = value; } }
        /// <summary>
        /// 是否执行成功
        /// </summary>
        public bool sucess { get; set; }
        /// <summary>
        /// 返回消息
        /// </summary>
        public string message { get; set; }
        /// <summary>
        /// 返回数据
        /// </summary>
        public T data { get; set; }
    }
}
